<?php
ini_set("memory_limit","100M");
set_time_limit(360);
include_once('classes/Sitemap.php');
$sitemap = new Sitemap($url);
$sitemap->generateSitemap();
$sitemap->writeSitemap("sitemap.xml");
$submit = $sitemap->pingSearchEngines($url.'sitemap.xml');
foreach($submit as $searchengine){
    echo $searchengine[0], " -> ",$searchengine[1], "\n";
}



?>


